package com.ali.stock.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ali.stock.domain.SysStock;
import com.ali.stock.service.SysStockService;
import com.ali.stock.mapper.SysStockMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_stock(股票表)】的数据库操作Service实现
* @createDate 2024-03-26 14:10:42
*/
@Service
public class SysStockServiceImpl extends ServiceImpl<SysStockMapper, SysStock>
    implements SysStockService{

    @Override
    public List<SysStock> getStockByUser(Integer userId) {
        return this.baseMapper.getStockByUser(userId);
    }
}




